package com.fin.quant.instra.mysql.mapper;

import com.fin.quant.instra.mysql.model.RankingAsset;
import com.fin.quant.instra.mysql.model.RankingAssetExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface RankingAssetMapper {
    long countByExample(RankingAssetExample example);

    int deleteByExample(RankingAssetExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RankingAsset record);

    int insertSelective(RankingAsset record);

    List<RankingAsset> selectByExample(RankingAssetExample example);

    RankingAsset selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RankingAsset record, @Param("example") RankingAssetExample example);

    int updateByExample(@Param("record") RankingAsset record, @Param("example") RankingAssetExample example);

    int updateByPrimaryKeySelective(RankingAsset record);

    int updateByPrimaryKey(RankingAsset record);
}